<div ng-controller="LiuyanCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/liuyan/list">{{'留言'| translate}}</a></li>
        <li class="active">
            {{"List"|translate}}
        </li>
        <span class="sui-form sui-form pull-right"> 
          <input type="text"  placeholder="{{'keyword'|translate}}"  ng-model="keyword">
          <button class="sui-btn btn-primary" type="submit" ng-click="getItemList()">{{'search'|translate}}</button>
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'用户信息'|translate}}</th>
                <th>{{'姓名'|translate}}</th>
                <th>{{'手机号'|translate}}</th>
                <th>{{'email'|translate}}</th>
                <th>{{'留言内容'|translate}}</th>
                <th>{{'留言时间'|translate}}</th>
                <!-- <th>{{'operation'|translate}}</th> -->
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in itemslist">
                <td>
                    <wxinfo ng-model="list.user_id" userid="1"></wxinfo>
                </td>
                <td>{{list.name}}</td>
                <td>{{list.phone}}</td>
                <td>{{list.email}}</td>
                <td>{{list.content}}</td>
                <td>{{list.created_time}}</td>
                <!-- <td>
                    <a href="#/item/add?id={{list.item_id}}" class="sui-btn btn-info" style="margin-bottom:10px">{{'edit'|translate}}</a>
                </td> -->
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="itemsTotal" get-data="getlist(pageNo)"></pager>
    <!-- 分页end -->
</div>